home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / boot / netBoot.new / h / fbio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-19  |  986 b   |  37 lines

  1.  
  2. /*      @(#)fbio.h 1.1 86/09/27 SMI      */
  3.  
  4. /*
  5.  * Copyright (c) 1986 by Sun Microsystems, Inc.
  6.  */
  7.  
  8. /*
  9.  * Frame buffer descriptor.
  10.  * Returned by FBIOGTYPE ioctl on frame buffer devices.
  11.  */
  12. #ifndef ASM
  13. struct    fbtype {
  14.     int    fb_type;    /* as defined below */
  15.     int    fb_height;    /* in pixels */
  16.     int    fb_width;    /* in pixels */
  17.     int    fb_depth;    /* bits per pixel */
  18.     int    fb_cmsize;    /* size of color map (entries) */
  19.     int    fb_size;    /* total size in bytes */
  20. };
  21. #endif ASM
  22.  
  23. #define    FBTYPE_SUN1BW        0
  24. #define    FBTYPE_SUN1COLOR    1
  25. #define    FBTYPE_SUN2BW        2
  26. #define    FBTYPE_SUN2COLOR    3
  27. #define    FBTYPE_SUN3BW        4        /* rserved for future Sun use */
  28. #define    FBTYPE_SUN3COLOR    5        /* rserved for future Sun use */
  29. #define    FBTYPE_SUN4BW        6        /* rserved for future Sun use */
  30. #define    FBTYPE_SUN4COLOR    8    
  31. #define    FBTYPE_NOTSUN1        9        /* reserved for customer */
  32. #define    FBTYPE_NOTSUN2        10        /* reserved for customer */
  33. #define    FBTYPE_NOTSUN3        11        /* reserved for customer */
  34.  
  35. #define    FBIOGTYPE _IOR(F, 0, struct fbtype)
  36.  
  37.